﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="joinmember.aspx.cs" Inherits="joinmember" %>

<%@ Register Assembly="aspnetpager" Namespace="Wuqi.Webdiyer" TagPrefix="Webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">        
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div id="AllOb-Table">
    <div id="AllTitle">帳號申請</div>
    <asp:Panel ID="PanelUI" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" class="Join-Table">
      <tr>
        <td height="50" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td width="115">帳號(電子信箱)：</td>
        <td width="465">
            <asp:TextBox ID="txtLoginId" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="請輸入帳號"
                  ControlToValidate="txtLoginId" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RequiredFieldValidator10" runat="server"
                ErrorMessage="非E-MAIL 格式"
                ControlToValidate="txtLoginId"
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
            </asp:RegularExpressionValidator>
        </td>
      </tr>
      <tr>
        <td>密碼：</td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server" CssClass="input-a" size="25" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入密碼"
                  ControlToValidate="txtPassword" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td>再次輸入密碼：</td>
        <td>
            <asp:TextBox ID="txtPasswordConfirm" runat="server" CssClass="input-a" size="25" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="請輸入再次輸入密碼"
                  ControlToValidate="txtPasswordConfirm" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server"
            ControlToValidate="txtPasswordConfirm" ControlToCompare="txtPassword" ValidationGroup="Save"
            ErrorMessage="再次輸入密碼與密碼輸入的不相同" Display="None" Operator="Equal" Type="String"></asp:CompareValidator>
        </td>
      </tr>
      <tr>
        <td>姓名：</td>
        <td>
            <asp:TextBox ID="txtName" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="請輸入姓名"
                  ControlToValidate="txtName" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td>個人電話：</td>
        <td>
            <asp:TextBox ID="txtPhone" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="請輸入個人電話"
                  ControlToValidate="txtPhone" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td>個人手機：</td>
        <td>
            <asp:TextBox ID="txtMobile" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="請輸入個人手機"
                  ControlToValidate="txtMobile" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <%--<tr>
        <td>個人電子信箱：</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="請輸入個人電子信箱"
                  ControlToValidate="txtEmail" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>--%>
      <tr>
        <td>學歷：</td>
        <td>
            <asp:RadioButtonList ID="rdoEducationalLv" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Text="大學及同等學歷" Value="大學及同等學歷"></asp:ListItem>
                <asp:ListItem Text="碩士" Value="碩士"></asp:ListItem>
                <asp:ListItem Text="博士" Value="博士"></asp:ListItem>
                <asp:ListItem Text="其他" Value="其他"></asp:ListItem>
            </asp:RadioButtonList>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="請選擇學歷"
                  ControlToValidate="rdoEducationalLv" Display="None" ValidationGroup="Save"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td>專業別：</td>
        <td>
            <asp:CheckBoxList ID="ckblProfessional" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Text="社工　" Value="社工"></asp:ListItem>
                <asp:ListItem Text="護理　" Value="護理"></asp:ListItem>
                <asp:ListItem Text="心理　" Value="心理"></asp:ListItem>
                <asp:ListItem Text="職能治療　" Value="職能治療"></asp:ListItem>
                <asp:ListItem Text="物理治療　" Value="物理治療"></asp:ListItem>                
            </asp:CheckBoxList>
            <br />
            <div style="margin-left:3px;margin-top:-20px;">
                <asp:CheckBox ID="ckbProfessionalOther" runat="server" Text="其他" />
                <asp:TextBox ID="txtProfessionalOther" runat="server" CssClass="input-a" size="25"></asp:TextBox>
            </div>
        </td>
      </tr>
      <tr>
        <td>職稱：</td>
        <td>
            <asp:TextBox ID="txtJobTitle" runat="server" CssClass="input-a" size="25"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td>單位名稱：</td>
        <td>
            <asp:TextBox ID="txtCompany" runat="server" CssClass="input-a" size="25"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td valign="top">單位地址：</td>
        <td>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:DropDownList ID="ddlCity" runat="server" CssClass="input-a" AutoPostBack="true" OnSelectedIndexChanged="ddlCity_SelectedIndexChanged">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlCountry" runat="server" CssClass="input-a">
            </asp:DropDownList>
            <asp:TextBox ID="txtCompanyAddress" runat="server" CssClass="input-a" size="27"></asp:TextBox></td>
                </ContentTemplate>
            </asp:UpdatePanel>                    
      </tr>
      <tr>
        <td valign="top">單位電子信箱：</td>
        <td>
            <asp:TextBox ID="txtCompanyEmail" runat="server" CssClass="input-a" size="50"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td valign="top">失智症相關受訓及服務經歷：</td>
        <td>
            <asp:TextBox ID="txtHtmlContent" runat="server" CssClass="input-a" cols="50" Rows="6" TextMode="MultiLine" Width="415px"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td height="56" colspan="2" align="center">
        <asp:ImageButton ID="btnSend" runat="server" onclick="btnSend_Click" ImageUrl="image/enter.png" Width="105" Height="30" ValidationGroup="Save"/>
        　<a href="joinmember.aspx"><img src="image/delete.png" width="105" height="30"></a></td>
      </tr>
    </table>
    </asp:Panel>
  </div>
  <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Save" 
        ShowMessageBox="True" ShowSummary="False"/>  
</asp:Content>

